﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SGS.Standard.EventArgs;

namespace SGS.Standard.GameLogic
{
    public class GameLogicBase
    {
        protected static GameContext CurrentGameContext
        {
            get
            {
                return GameContext.Current;
            }
        }

        protected static void RaiseNoticeMessageEvent(string msg, params object[] args)
        {
            GameContext.Current.RaiseNoticeMessageEvent(msg, args);
        }

        protected static void RaiseNoticeMessageEventEx(object sender, string msg, params object[] args)
        {
            GameContext.Current.RaiseNoticeMessageEvent(sender, msg, args);
        }

        protected static void RaiseHumanActorEventEx(object sender, HumanActorEventArgs eq, HumanAnswerActorEventArgs ea)
        {
            GameContext.Current.RaiseHumanActorEvent(sender, eq, ea);
        }

        protected static void RaiseHumanActorEvent(HumanActorEventArgs eq, HumanAnswerActorEventArgs ea)
        {
            GameContext.Current.RaiseHumanActorEvent(GameContext.Current, eq, ea);
        }
    }
}
